﻿<%@ Page Title="" Language="C#" AutoEventWireup="true" CodeBehind="CouncilAdd.aspx.cs"
	Inherits="SBACN.WebSite.Admin.AboutGuild.CouncilAdd" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
	<title>内容编辑</title>
	<link href="../images/style.css" rel="stylesheet" type="text/css" />
	<link href="../images/form.css" rel="stylesheet" type="text/css" />
	<script src="../../js/jquery-1.7.1.js" type="text/javascript"></script>
	<script src="../../../My97DatePicker/WdatePicker.js" type="text/javascript"></script>
	<script src="../../xheditor/xheditor-1.1.13-zh-cn.min.js" type="text/javascript"></script>
	<script type="text/javascript">
		$(function () {
			$("#<%= Introduce.ClientID %>").xheditor({
				upLinkUrl: "../../Handler/UploadHandler.ashx?tc=00010004", upLinkExt: "zip,rar,txt,xls,pdf",
				upImgUrl: "../../Handler/UploadHandler.ashx?tc=00010004", upImgExt: "jpg,jpeg,gif,png",
				upFlashUrl: "../../Handler/UploadHandler.ashx?tc=00010004", upFlashExt: "swf",
				upMediaUrl: "../../Handler/UploadHandler.ashx?tc=00010004", upMediaExt: "avi"
			});
			$("#<%= EIntroduce.ClientID %>").xheditor({
				upLinkUrl: "../../Handler/UploadHandler.ashx?tc=00010004", upLinkExt: "zip,rar,txt,xls,pdf",
				upImgUrl: "../../Handler/UploadHandler.ashx?tc=00010004", upImgExt: "jpg,jpeg,gif,png",
				upFlashUrl: "../../Handler/UploadHandler.ashx?tc=00010004", upFlashExt: "swf",
				upMediaUrl: "../../Handler/UploadHandler.ashx?tc=00010004", upMediaExt: "avi"
			});
		})
		function Check() {
			var CName = $("#<%=CouncilTitle.ClientID %>").val();
			if (CName == "") {
				alert("请填写标题！");
				return false;
			}
			return true;
		}
	</script>
</head>
<body>
	<form id="form1" runat="server">
	<center>
		<div id="contentDiv">
		<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table-stroke2">
			<tr>
				<td colspan="4" class="form-title2">
				</td>
			</tr>
			<tr>
				<td width="8%" class="form-label-1">
					<span style="color:Red;" >*</span> 标题：
				</td>
				<td width="42%" class="form-body-1">
					<asp:TextBox ID="CouncilTitle" runat="server" Width="99%"></asp:TextBox>
				</td>
				<td width="8%" class="form-label-1">
					<span style="color: Red;">*</span>英文标题：
				</td>
				<td width="42%" class="form-body-1">
					<asp:TextBox ID="ECouncilTitle" runat="server" Width="99%"></asp:TextBox>
				</td>
			</tr>
			<tr>
				<td width="8%" class="form-label-1">
					开始时间：
				</td>
				<td width="42%" class="form-body-1">
					<asp:TextBox ID="StartDate" runat="server" CssClass="Wdate" OnClick="WdatePicker();"></asp:TextBox>
				</td>
				<td width="8%" class="form-label-1">
					结束时间：
				</td>
				<td width="42%" class="form-body-1">
					<asp:TextBox ID="EndDate" runat="server" CssClass="Wdate" OnClick="WdatePicker();"></asp:TextBox>
				</td>
			</tr>
			<tr>
				<td width="8%" class="form-label-1">
					简介：
				</td>
				<td width="84%" class="form-body-1" colspan="3">
					<asp:TextBox ID="Introduce" runat="server" TextMode="MultiLine" Width="99%" Rows="20"></asp:TextBox>
				</td>
			</tr>
			<tr>
				<td width="8%" class="form-label-1">
					英文简介：
				</td>
				<td width="84%" class="form-body-1" colspan="3">
					<asp:TextBox ID="EIntroduce" runat="server" TextMode="MultiLine" Width="99%" Rows="20"></asp:TextBox>
				</td>
			</tr>
			<tr>
				<td class="form-body" colspan="4">
					<asp:Button ID="SubBtn" runat="server" CssClass="btnsearch" Text="新增" OnClientClick="return Check();"
						Style="height: 21px" OnClick="SubBtn_Click" />
					<input name="Cancel " id="Cancel" type="button" class="btnsearch" onclick="window.close();" value="取消" />
				</td>
			</tr>
		</table>
		</div>
	</center>
	</form>
</body>
</html>
